package com.orilife.person;

import java.util.List;

import com.example.orllife.R;
import com.orilife.bean.Product;

import com.orilife.component.MyGridView;
import com.orilife.connectdata.GetProductInfo;
import com.orilife.person.MyCollectionFragment.getMyWorkThread;

import android.app.Activity;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.Toast;

public class MySourceFragment extends Fragment implements OnClickListener{
	Button plateBt,fittingBt,sourceSettleBt;

	
	@Override
	public View onCreateView(LayoutInflater inflater,
			@Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		View view = inflater.inflate(R.layout.mysourcefragmentlayout,
				container, false);
		plateBt = (Button)view.findViewById(R.id.myplatebt);
		fittingBt = (Button)view.findViewById(R.id.myfittingbt);
		sourceSettleBt = (Button)view.findViewById(R.id.sourcebt);
		plateBt.setOnClickListener(this);
		fittingBt.setOnClickListener(this);
		sourceSettleBt.setOnClickListener(this);
		return view;
	}
	
	@Override
	public void onActivityCreated(@Nullable Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onActivityCreated(savedInstanceState);
		
	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		switch(v.getId()){
		case R.id.myplatebt:break;
		case R.id.myfittingbt:break;
		case R.id.sourcebt:break;
		}
	}

	
}
